package com.dc.refactoring._1_重新组织函数._1_ExtractMethod;

import com.google.common.collect.Lists;
import org.junit.Test;

import java.util.List;

public class Client {

    @Test
    public void testPrintOwing() {
        List<Double> list = Lists.newArrayList();
        list.add(25.1);

        Test1 test1 = new Test1();
        test1.printOwing("client", list);
    }

    @Test
    public void printOwing() {
        List<Double> list = Lists.newArrayList();
        list.add(25.1);

        Test2 test2 = new Test2();
        test2.printOwing("client", list);
    }
}
